package week06.member;

public class CartService {
    private MemberStrategy strategy;
    public double calcPrice(double price,String memberId){
            this.strategy= (MemberStrategy) new IntermdiateMember();
            return strategy.calcPrice(price);
    }
    public static void main(String[] args){
        CartService  cartService=new CartService();


    }
}
